package com.op.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (QuestionBank)表实体类
 *
 * @author 孤焰
 * @since 2021-10-06 15:04:33
 */
@Data
@ApiModel("题库")
public class QuestionBank implements Serializable {
    private static final long serialVersionUID = 101167318667752885L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("题库名")
    private String bankName;

    @ApiModelProperty("被使用次数")
    private Long useCount;

    @ApiModelProperty("题库展示图片")
    private String imgPath;

    @ApiModelProperty("是否为公共题库 0 - 否 1 - 是 2 - 均显示")
    private Integer isCommon;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态 0 - 未启用 1 - 启用")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;
}

